<h1>Editing document</h1>

<%= render :partial => "form" %>

<%= link_to 'Show', @document %> |
<%= link_to 'Back', documents_path %>